fftools: do not access out of bounds filtergraph
authorMarvin Scholz <epirat07@gmail.com>
Tue, 1 Oct 2024 00:57:11 +0000 (02:57 +0200)
committerSebastian Ramacher <sramacher@debian.org>
Sun, 27 Oct 2024 17:31:51 +0000 (18:31 +0100)
commit93d0437ce83b7e7211cbb27793051241d07ca5f9
tree02072e39eb494489f20910ac9db1c48e80780c8e
parent8eb76e7ce5524c7edfab6875751d33a9154eca58
fftools: do not access out of bounds filtergraph

The log message was logged for `filtergraphs[j]` which would cause a
heap buffer overflow in certain circumstances.

Correctly it should be logged for the current filtergraph, so just
use `fg` here.

(cherry picked from commit 5beeb3a1f97d8f6d4076fe83aaf5e2e5871f945e)

Gbp-Pq: Name 0005-fftools-do-not-access-out-of-bounds-filtergraph.patch
fftools/ffmpeg_filter.c